﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace VRM2CustomControls
{
  public class menuHeader : Control
  {
    public static readonly DependencyProperty headerTextProperty;
    public static readonly DependencyProperty headerOptionProperty;
    public static readonly DependencyProperty headerForegroundProperty;

    static menuHeader()
    {
      DefaultStyleKeyProperty.OverrideMetadata(typeof(menuHeader), new FrameworkPropertyMetadata(typeof(menuHeader)));
      headerTextProperty = DependencyProperty.Register("headerText", typeof(string), typeof(menuHeader), new UIPropertyMetadata(null));
      headerOptionProperty = DependencyProperty.Register("headerOption", typeof(string), typeof(menuHeader), new UIPropertyMetadata(null));
      headerForegroundProperty = DependencyProperty.Register("headerForeground", typeof(SolidColorBrush), typeof(menuHeader), new UIPropertyMetadata(null));
    }

    public string headerText
    {
      get { return (string)GetValue(headerTextProperty); }
      set { SetValue(headerTextProperty, value); }
    }

    public string headerOption
    {
      get { return (string)GetValue(headerOptionProperty); }
      set { SetValue(headerOptionProperty, value); }
    }

    public SolidColorBrush headerForeground
    {
      get { return (SolidColorBrush)GetValue(headerForegroundProperty); }
      set { SetValue(headerForegroundProperty, value); }
    }

  }
}
